/*
* @Author: Turbidsoul
* @Date:   2017-01-26 16:52:33
* @Last Modified by:   Turbidsoul
* @Last Modified time: 2017-01-26 18:23:45
*/
import {observable, autorun} from 'mobx';

export default class TimerStore {
  @observable secondsPasswd = 0;

  constructor() {
    autorun(()=>console.log(`计时：${this.secondsPasswd}`));
  }

  incSecondsPasswd() {
    this.secondsPasswd++;
  }
}
